package com.dabai.iot.core.convert;

import com.dabai.iot.core.dto.DeviceGroupInput;
import com.dabai.iot.core.entity.DeviceGroupEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 设备分组 Convert
 *
 * @author kev1n
 */
@Mapper
public interface DeviceGroupConvert {

    DeviceGroupConvert INSTANCE = Mappers.getMapper(DeviceGroupConvert.class);

    DeviceGroupEntity convert(DeviceGroupInput input);

//    TreeNode convertTree(DeviceGroup entity);

}
